//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-03B
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Big As Texas Music & Food Festival: Thomas Rhett, Dierks Bentley & Billy Strings - 3 Day Pass','Montgomery County Fairgrounds - Conroe','Conroe, TX','Friday','5/10/2024','TBD','6031424','Big-As-Texas-Music---Food-Festival--Thomas-Rhett--Dierks-Bentley---Billy-Strings---3-Day-Pass-5-10-2024'],['Big As Texas Music & Food Festival: Thomas Rhett, Clay Walker & Corey Kent (Time: TBD) - Friday','Montgomery County Fairgrounds - Conroe','Conroe, TX','Friday','5/10/2024','12:00 PM','6052075','Big-As-Texas-Music---Food-Festival--Thomas-Rhett--Clay-Walker---Corey-Kent--Time--TBD----Friday-5-10-2024'],['Opry NextStage: Jelly Roll, Anne Wilson, Chase Matthew, Flatland Cavalry & Wyatt Flores','Lava Cantina The Colony','The Colony, TX','Wednesday','5/15/2024','2:30 PM','6341876','Opry-NextStage--Jelly-Roll--Anne-Wilson--Chase-Matthew--Flatland-Cavalry---Wyatt-Flores-5-15-2024'],['Country In The Park: Walker Hayes & Michael Ray - Saturday','Country in the Park - Sacramento','Sacramento, CA','Saturday','5/18/2024','2:00 PM','6161455','Country-In-The-Park--Walker-Hayes---Michael-Ray---Saturday-5-18-2024'],['Chase Matthew','Underbelly - FL','Jacksonville, FL','Thursday','5/30/2024','7:00 PM','6383269','Chase-Matthew-5-30-2024'],['The Country Fest: Lainey Wilson, Cody Johnson & Thomas Rhett - 4 Day Pass','Clay's Park Resort','North Lawrence, OH','Wednesday','6/12/2024','TBD','5948391','The-Country-Fest--Lainey-Wilson--Cody-Johnson---Thomas-Rhett---4-Day-Pass-6-12-2024'],['The Country Fest: Chris Janson & Chase Matthew - Wednesday','Clay's Park Resort','North Lawrence, OH','Wednesday','6/12/2024','11:00 AM','5948392','The-Country-Fest--Chris-Janson---Chase-Matthew---Wednesday-6-12-2024'],['Chase Matthew','Dr. Pepper Park','Roanoke, VA','Friday','6/14/2024','6:00 PM','6308475','Chase-Matthew-6-14-2024'],['Chase Matthew','Fox Theatre - Hays','Hays, KS','Saturday','6/22/2024','6:30 PM','6303337','Chase-Matthew-6-22-2024'],['Luke Bryan, Alana Springsteen & Chase Matthew','Pine Knob Music Theatre','Clarkston, MI','Friday','6/28/2024','3:00 PM','6247604','Luke-Bryan--Alana-Springsteen---Chase-Matthew-6-28-2024']],'"Chase Matthew"','https://www.ticketnetwork.com');